//  this library.
/// 章节刷新状态的相关工具类
class ChapterRefreshStateUtil {
  final List<String> _list = [];

  /// 判断刷新是否完成
  getRefreshComplete() {
    return _list.isEmpty;
  }

  /// 添加刷新的状态
  addRefreshState({required String id}) {
    _list.add(id);
  }

  /// 完成刷新状态
  finishRefreshState({required String id}) {
    _list.remove(id);
  }
}
